package com.truonghau.xmeasure.commons;

import android.os.Environment;
import android.os.Vibrator;

public class Constants {
	public static final String PREFS_NAME = "MyPrefsFile";
	public static final String ERROR_STRING = "error";
	
	
	public static final String LOCAL_SETUP_MUICHIEU_3 = "3";
	public static final String LOCAL_SETUP_MUICHIEU_6 = "6";
	
	public static final String LOCAL_SETUP_ELIPSOIT_WGS84 = "WGS84";
	
	public static final String LOCAL_SETUP_HEQUYCHIEU_WGS84 = "WGS84";
	
	public static final String CONFIG_MUICHIEU = "muichieu";
	public static final String CONFIG_ELIPSOLIT = "elipsoit";
	public static final String CONFIG_HEQUYCHIEU_DATUM = "hequychieudatum";
	public static final String CONFIG_HEQUYCHIEU_ELIPSOID = "hequychieuelipsoid";
	public static final String CONFIG_DOLECH_X = "dolechx";
	public static final String CONFIG_DOLECH_Y = "dolechy";
	public static final String CONFIG_DOCAO_MUCNUOCBIEN = "docaomuocnuocbien";
	public static final String CONFIG_KINHTUYENTRUC_DO = "kinhtuyentrucDo";
	public static final String CONFIG_KINHTUYENTRUC_PHUT= "kinhtuyentrucPhut";
	public static final String CONFIG_KINHTUYENTRUC_GIAY = "kinhtuyentrucGiay";
	public static final String CONFIG_TYPEDEGREE = "kieuhhienthiDegree";
	
	public static final String CONFIG_MOCCANTIM_X = "moccantimX";
	public static final String CONFIG_MOCCANTIM_Y = "moccantimY";
	public static final String CONFIG_MOCCANTIM_B = "moccantimB";
	public static final String CONFIG_MOCCANTIM_L = "moccantimL";
	
	public static final String CONFIG_DATUM_DX = "configdatumdx";
	public static final String CONFIG_DATUM_DY = "configdatumdy";
	public static final String CONFIG_DATUM_DZ = "configdatumdz";
	public static final String CONFIG_DATUM_WX = "configdatumwx";
	public static final String CONFIG_DATUM_WY = "configdatumwy";
	public static final String CONFIG_DATUM_WZ = "configdatumwz";
	public static final String CONFIG_DATUM_M =  "configdatumm";
	
	public static final String CONFIG_ELIPSOID_A = "configelipsoida";
	public static final String CONFIG_ELIPSOID_F = "configelipsoidf";
	
	public static final String CONFIG_COORDIXY = "kieuhhienthiXY";
	public static final String CONFIG_SHOWLINE = "showLine";
	
	public static final String CONFIG_CHUKY = "chuky_phut";
	
	public static final String DATE_FORMAT = "ddMMyy_hhmmss";
	public static final String PATTERN_NUMBER = "0000000";
	public static final String PATTERN_NUMBER_DOCAO = "0.00";
	public static final String PATTERN_NUMBER_SAISO = "0";
	public static final String PATTERN_NUMBER_INPUT = "0";
	public static final String PATTERN_NUMBER_DOUBLE = "0000000.000";
	public static final String PATTERN_NUMBER_0H00 = "0.00";
	public static final String PATTERN_NUMBER_DOUBLE_BL = "0.00";
	public static final String PATTERN_NUMBER_DOUBLE_BL_DECIMAL = "0.0000000";
	public static final String PATTERN_NUMBER_GIAY = "0.0";
	public static final String TRUE_STRING_IN_FILE = "true";
	public static final String FALSE_STRING_IN_FILE = "false";
	
	//status
	public static final int STOP_STATUS = 0;
	public static final int RUNNING_STATUS = 1;
	public static final int PAUSE_STATUS = 2;
	

	//show type degree
	public static final int TYPE_DEGREE = 0;
	public static final int TYPE_RADIAN = 1;
	public static final int TYPE_S_AMERICA = 2;
	
	//gps status
	public static final int GPS_GOOD_STATUS = 0;
	public static final int GPS_BAD_STATUS = 1;
	public static final int GPS_OFF_STATUS = 2;
	
	public static final int NOTIFICATION_ID = 1;
	
	public static final long MAX_LOOP_TIME = 1000 * 60 * 60 * 24;
	public static final int TAB_BAR_HEIGHT = 25;
	public static final int PADDING = 15;
	
	public static final int REQUEST_CODE_SETUP = 1002;
	public static final int REQUEST_SHOW_IMAGE = 1003;
	public static final int REQUEST_OPEN_FILE = 1005;
	public static final int REQUEST_CODE_DATMOC = 1001;
	public static final int REQUEST_CODE_INPUT_SIMPLE = 1006;
	public static final int REQUEST_CODE_HEQUYCHIEU_KHAC_DATUM = 1008;
	public static final int REQUEST_CODE_HEQUYCHIEU_KHAC_ELIPSOID = 1011;
	public static final int REQUEST_CODE_KINHTUYEN_TRUC = 1009;
	public static final int REQUEST_CODE_KINHTUYEN_TRUC_DETAIL = 1010;
	public static final int REQUEST_CODE_INPUT_SIMPLE_OLD = 1012;
	public static final int REQUEST_CODE_INPUT_SIMPLE_NEW = 1013;
	
	public static final String FILE_NAME_LIST_MOC = "listMoc.txt";
	public static final String FILE_NAME_LIST_LD = "listLD.txt";
	public static final String FILE_NAME_LIST_KTT = "listktt.txt"; //kinh tuyen truc
	public static final String FILE_NAME_LIST_DATUM = "listdatum.txt";
	public static final String FILE_NAME_LIST_ELIPSOID = "listelipsoid.txt";
	public static final String FILE_NAME_LIST_GEO_COMPASS = "listgeocompass.txt";
	public static final String FILE_NAME_DANGKY = "dangky.txt";
	public static final String HEQUYCHIEU_OTHER = "-Other-";
	
	
	public static final int SIZE_IMAGE_COMPASS = 280;
	public static final int SIZE_TEXT_SMALL = 12;
	public static final int SIZE_TEXT_BIG = 18;
	public static final int LINE_SPACE = 18;
	public static final int LEFT_MARGINE = 10;
	public static final int SIZE_IMAGE_DEGREE_TOOL_W = 280;
	public static final int SIZE_IMAGE_DEGREE_TOOL_H = 500;
	public static final int SIZE_IMAGE_SAVE_BUTTON = 64;
	
	public static final int TIME_ALERT = 3;
	public static final int TIME_ALERT_OUT = 7;
	
	public static final int TOTAL_CHAR = 23;
	public static final double MIN_DISTANCE = 25;
	
	public static final String INTENT_OBJECT_PARAM_KTT_OLD = "kttold";
	public static final String INTENT_OBJECT_PARAM_KTT_NEW = "kttnew";
	public static final String INTENT_OBJECT_PARAM_FROM_LIST_MOC = "fromlistmoc";
	
	public static final int MAX_POINT_FOR_FREE =4;
	
	public static final String START_CHARACTER = "@";
	
	public static final boolean APPOTA_STORE = false;

	public static final String DATABASE_NAME = "xcompass.db";
	public static final int DATABASE_VERSION = 1;
	
	//public static final String PATH_XCOMPASS =  Environment.getExternalStorageDirectory().getPath();
	
	public static Vibrator vibrator;
}
